<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>摆布组织div 实例 css5.com.cn</title>
<style>
    .divleft{ float:left; height:1000px;width:100px; border:1px solid #060}
    .divright{ float:right; width:280px; border:1px solid #00F}
</style>
</head>
<body>
        <div >
            <table>
                <tr><td><a href="{{ url_for("login.system_dict_add")}}">新建</a></td></tr>
                <tr>
                    <td>字典类型key</td>
                    <td>字典类型值</td>
                    <td>字典描述</td>
                    <td>字典类型状态</td>
                </tr>
                {% for types in dict_type %}
                <tr>
                    {% for type in range(types|length) %}
                        {% if type==0 %}
                        {% else %}
                            <td>{{ types[type] }}</td>
                        {% endif %}
                    {% endfor %}
                <td><a href="{{ url_for("login.system_dict",type_id=types[0]) }}">查询</a></td>
                <td><a href="{{ url_for("login.system_dict_update",type_id=types[0]) }}">修改</a></td>
                <td><a href="{{ url_for("login.system_dict_delete",type_id=types[0]) }}">删除</a></td>
                </tr>
            {% endfor %}
            </table>
            <div>
        <div class="divright">
            {% if type_id=='None' %}
            {% else %}
            <table>
                <tr>
                    <td><a href="{{ url_for("login.system_dict_item_add",type_id=type_id) }}">新增</a></td></tr>
                <tr>
                    <td>字典类型key</td>
                    <td>字典类型值</td>
                    <td>字典描述</td>
                    <td>字典类型状态</td>
                </tr>
                {% for items in dict_item %}
                <tr>
                    {% for item in range(items|length) %}
                        {% if item==0 %}
                        {% else %}
                            <td>{{ items[item] }}</td>
                        {% endif %}
                    {% endfor %}
                </tr>
                {% endfor %}
            </table>
            {% endif %}
        </div>

</body>
</html>